<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>申请信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-if="purchaseApplyDetailInfo.resOrderType == '10000'"
                            v-on:click="_printPurchaseApply()">
                            打印
                        </button>
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_callBackListPurchaseApply()">
                            返回
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">

                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">申请单号：</label>
                                <label class="">{{purchaseApplyDetailInfo.applyOrderId}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">申请人：</label>
                                <label class="">{{purchaseApplyDetailInfo.userName}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">使用人：</label>
                                <label class="">{{purchaseApplyDetailInfo.endUserName}}</label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">联系电话：</label>
                                <label class="">{{purchaseApplyDetailInfo.endUserTel}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">申请时间：</label>
                                <label class="">{{purchaseApplyDetailInfo.createTime}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">参考价格：</label>
                                <label class="">{{purchaseApplyDetailInfo.totalPrice}}</label>
                            </div>
                        </div>

                    </div>

                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">审批状态：</label>
                                <label class="">{{purchaseApplyDetailInfo.stateName}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">说明：</label>
                                <label class="">{{purchaseApplyDetailInfo.description}}</label>
                            </div>
                        </div>

                        

                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>申请物资</h5>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">物资</th>
                                <th class="text-center">物资编码</th>
                                <th class="text-center">单价</th>
                                <th class="text-center">库存</th>
                                <th class="text-center">申请数量</th>
                                <th class="text-center">备注</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="resourceStore in purchaseApplyDetailInfo.purchaseApplyDetailVo">
                                <td class="text-center">{{resourceStore.resName}}</td>
                                <td class="text-center">{{resourceStore.resCode}}</td>
                                <td class="text-center">{{resourceStore.price}}</td>
                                <td class="text-center">{{resourceStore.stock}}</td>
                                <td class="text-center">{{resourceStore.quantity}}</td>
                                <td class="text-center">{{resourceStore.remark}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>工单流转</h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <table class="table table-stripped">
                        <thead>
                            <tr>
                                <th scope="col">序号</th>
                                <th scope="col">处理人</th>
                                <th scope="col">状态</th>
                                <th scope="col">处理时间</th>
                                <th scope="col">耗时</th>
                                <th scope="col">意见</th>
                            </tr>
                        </thead>
                        <tbody>
                
                            <tr v-for="(tItem,index) in purchaseApplyDetailInfo.auditUsers">
                                <td>{{index+1}}</td>
                                <td>{{tItem.auditName}}</td>
                                <td>{{tItem.stateName}}</td>
                                <td>{{tItem.auditTime}}</td>
                                <td>{{tItem.duration}}</td>
                                <td>{{tItem.message}}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

</div>